/*
 * LiteralNodeListItem.java
 *
 * Created on 07 February 2005, 20:25
 */

package org.datamining.guha.model;

import org.datamining.guha.model.literal.Literal;
import org.datamining.guha.model.node.Node;

/**
 * This class represents item in literalNodeList in Model.
 * It is pretty simple object.
 *
 * @author Lukas Vlcek
 */
public class LiteralNodeListItem {
    
    private Literal literal;
    private Node nodeReference;
    
    /** Creates a new instance of LiteralNodeListItem */
    public LiteralNodeListItem(Literal literal, Node nodeReference) {
        this.literal = literal;
        this.nodeReference = nodeReference;
    }

    public Node getNodeReference() {
        return nodeReference;
    }

    public Literal getLiteral() {
        return literal;
    }

    public void setNodeReference(Node nodeReference) {
        this.nodeReference = nodeReference;
    }
    
}
